import { RestfulService } from '../restful/restful.service';
import { Body, Post } from '@nestjs/common';

export class BaseController {
    constructor(private restfulService: RestfulService) {}

    @Post('/restfulGetModel')
    restfulGetModel(@Body() body: any) {
        return this.restfulService.getModel(body);
    }
}
